package com.goldenlight.fvms.manager.filter;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

public class Request {
    private Map<String, Object> data;
    private String type;
    private MultipartFile file;
    private IService<T> service;

    public Request() {
    }

    public Request(String type, MultipartFile file, IService<T> service) {
        this.type = type;
        this.file = file;
        this.service = service;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    public IService<T> getService() {
        return service;
    }

    public void setService(IService<T> service) {
        this.service = service;
    }

    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> data) {
        this.data = data;
    }
}
